#pragma once
#include "CCArmature.h"
#include "cocos2d.h"
#include "define.h"
#include "aninode.h"
USING_NS_CC;
USING_NS_CC_EXT;


class EnemyNode :public AniNode
{

public:

	EnemyNode();
	~EnemyNode();
	virtual void onFrameEvent(CCBone *bone, const char *evt, int originFrameIndex, int currentFrameIndex);  
    // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
	virtual void update(float);
    virtual bool init();  
	virtual void draw();
    // implement the "static node()" method manually
    CREATE_FUNC(EnemyNode);
	void removeEnemy();
};

